#pragma once
#include "DBConn.cpp"

namespace austinpowell {

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;
	using namespace System::Data;
	using namespace System::Data::SqlClient;
	using namespace System::Configuration;

	public ref class Form1 : public System::Windows::Forms::Form
	{
	public:
		Form1(void)
		{
			InitializeComponent();

		}
	protected:
		~Form1()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::Label^  lbl_saturday;
	private: System::Windows::Forms::Label^  lbl_sunday;
	private: System::Windows::Forms::Label^  lbl_friday;
	private: System::Windows::Forms::Label^  lbl_thrusday;
	private: System::Windows::Forms::Label^  lbl_wednesday;
	private: System::Windows::Forms::Label^  lbl_tuesday;
	private: System::Windows::Forms::Label^  lbl_monday;
	private: System::Windows::Forms::Label^  day_37;
	private: System::Windows::Forms::Label^  day_36;
	private: System::Windows::Forms::Label^  day_35;
	private: System::Windows::Forms::Label^  day_33;
	private: System::Windows::Forms::Label^  day_32;
	private: System::Windows::Forms::Label^  day_31;
	private: System::Windows::Forms::Label^  day_30;
	private: System::Windows::Forms::Label^  day_29;
	private: System::Windows::Forms::Label^  day_28;
	private: System::Windows::Forms::Label^  day_27;
	private: System::Windows::Forms::Label^  day_26;
	private: System::Windows::Forms::Label^  day_25;
	private: System::Windows::Forms::Label^  day_24;
	private: System::Windows::Forms::Label^  day_23;
	private: System::Windows::Forms::Label^  day_22;
	private: System::Windows::Forms::Label^  day_21;
	private: System::Windows::Forms::Label^  day_20;
	private: System::Windows::Forms::Label^  day_19;
	private: System::Windows::Forms::Label^  day_18;
	private: System::Windows::Forms::Label^  day_17;
	private: System::Windows::Forms::Label^  day_16;
	private: System::Windows::Forms::Label^  day_15;
	private: System::Windows::Forms::Label^  day_14;
	private: System::Windows::Forms::Label^  day_13;
	private: System::Windows::Forms::Label^  day_12;
	private: System::Windows::Forms::Label^  day_11;
	private: System::Windows::Forms::Label^  day_10;
	private: System::Windows::Forms::Label^  day_9;
	private: System::Windows::Forms::Label^  day_8;
	private: System::Windows::Forms::Label^  day_7;
	private: System::Windows::Forms::Label^  day_6;
	private: System::Windows::Forms::Label^  day_5;
	private: System::Windows::Forms::Label^  day_4;
	private: System::Windows::Forms::Label^  day_3;
	private: System::Windows::Forms::Label^  day_2;
	private: System::Windows::Forms::Label^  day_1;
	private: System::Windows::Forms::Label^  day_0;
	private: System::Windows::Forms::Label^  lbl_year;
	private: System::Windows::Forms::Label^  lbl_month;
	private: System::Windows::Forms::Label^  lbl_next_year;
	private: System::Windows::Forms::Label^  lbl_prev_month;
	private: System::Windows::Forms::Label^  lbl_prev_year;
	private: System::Windows::Forms::Label^  lbl_next_month;
	private: System::Windows::Forms::PictureBox^  pic_logo;
	private: System::Windows::Forms::Button^  cmd_logout;
	private: System::Windows::Forms::PictureBox^  pic_minimize;
	private: System::Windows::Forms::PictureBox^  pic_exit;
	private: System::Windows::Forms::Label^  lbl_username;
	private: System::Windows::Forms::Label^  lbl_password;
	private: System::Windows::Forms::MaskedTextBox^  txt_password;
	private: System::Windows::Forms::TextBox^  txt_username;
	private: System::Windows::Forms::Button^  cmd_login;
	private: System::Windows::Forms::ComboBox^  cbo_employee;

	private: System::Windows::Forms::ComboBox^  cbo_company;
	private: System::Windows::Forms::ComboBox^  cbo_staff_id;
	private: System::Windows::Forms::ComboBox^  cbo_company_id;
	private: static int loginCount = 0;
			 static String ^regionId = "";
			 static String ^adminValue = "";
	protected: 

	private:

		System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
		void InitializeComponent(void)
		{
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
			this->lbl_saturday = (gcnew System::Windows::Forms::Label());
			this->lbl_sunday = (gcnew System::Windows::Forms::Label());
			this->lbl_friday = (gcnew System::Windows::Forms::Label());
			this->lbl_thrusday = (gcnew System::Windows::Forms::Label());
			this->lbl_wednesday = (gcnew System::Windows::Forms::Label());
			this->lbl_tuesday = (gcnew System::Windows::Forms::Label());
			this->lbl_monday = (gcnew System::Windows::Forms::Label());
			this->day_37 = (gcnew System::Windows::Forms::Label());
			this->day_36 = (gcnew System::Windows::Forms::Label());
			this->day_35 = (gcnew System::Windows::Forms::Label());
			this->day_33 = (gcnew System::Windows::Forms::Label());
			this->day_32 = (gcnew System::Windows::Forms::Label());
			this->day_31 = (gcnew System::Windows::Forms::Label());
			this->day_30 = (gcnew System::Windows::Forms::Label());
			this->day_29 = (gcnew System::Windows::Forms::Label());
			this->day_28 = (gcnew System::Windows::Forms::Label());
			this->day_27 = (gcnew System::Windows::Forms::Label());
			this->day_26 = (gcnew System::Windows::Forms::Label());
			this->day_25 = (gcnew System::Windows::Forms::Label());
			this->day_24 = (gcnew System::Windows::Forms::Label());
			this->day_23 = (gcnew System::Windows::Forms::Label());
			this->day_22 = (gcnew System::Windows::Forms::Label());
			this->day_21 = (gcnew System::Windows::Forms::Label());
			this->day_20 = (gcnew System::Windows::Forms::Label());
			this->day_19 = (gcnew System::Windows::Forms::Label());
			this->day_18 = (gcnew System::Windows::Forms::Label());
			this->day_17 = (gcnew System::Windows::Forms::Label());
			this->day_16 = (gcnew System::Windows::Forms::Label());
			this->day_15 = (gcnew System::Windows::Forms::Label());
			this->day_14 = (gcnew System::Windows::Forms::Label());
			this->day_13 = (gcnew System::Windows::Forms::Label());
			this->day_12 = (gcnew System::Windows::Forms::Label());
			this->day_11 = (gcnew System::Windows::Forms::Label());
			this->day_10 = (gcnew System::Windows::Forms::Label());
			this->day_9 = (gcnew System::Windows::Forms::Label());
			this->day_8 = (gcnew System::Windows::Forms::Label());
			this->day_7 = (gcnew System::Windows::Forms::Label());
			this->day_6 = (gcnew System::Windows::Forms::Label());
			this->day_5 = (gcnew System::Windows::Forms::Label());
			this->day_4 = (gcnew System::Windows::Forms::Label());
			this->day_3 = (gcnew System::Windows::Forms::Label());
			this->day_2 = (gcnew System::Windows::Forms::Label());
			this->day_1 = (gcnew System::Windows::Forms::Label());
			this->day_0 = (gcnew System::Windows::Forms::Label());
			this->lbl_year = (gcnew System::Windows::Forms::Label());
			this->lbl_month = (gcnew System::Windows::Forms::Label());
			this->lbl_next_year = (gcnew System::Windows::Forms::Label());
			this->lbl_prev_month = (gcnew System::Windows::Forms::Label());
			this->lbl_prev_year = (gcnew System::Windows::Forms::Label());
			this->lbl_next_month = (gcnew System::Windows::Forms::Label());
			this->pic_logo = (gcnew System::Windows::Forms::PictureBox());
			this->cmd_logout = (gcnew System::Windows::Forms::Button());
			this->pic_minimize = (gcnew System::Windows::Forms::PictureBox());
			this->pic_exit = (gcnew System::Windows::Forms::PictureBox());
			this->lbl_username = (gcnew System::Windows::Forms::Label());
			this->lbl_password = (gcnew System::Windows::Forms::Label());
			this->txt_password = (gcnew System::Windows::Forms::MaskedTextBox());
			this->txt_username = (gcnew System::Windows::Forms::TextBox());
			this->cmd_login = (gcnew System::Windows::Forms::Button());
			this->cbo_employee = (gcnew System::Windows::Forms::ComboBox());
			this->cbo_company = (gcnew System::Windows::Forms::ComboBox());
			this->cbo_staff_id = (gcnew System::Windows::Forms::ComboBox());
			this->cbo_company_id = (gcnew System::Windows::Forms::ComboBox());
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pic_logo))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pic_minimize))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pic_exit))->BeginInit();
			this->SuspendLayout();
			// 
			// lbl_saturday
			// 
			this->lbl_saturday->AutoSize = true;
			this->lbl_saturday->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lbl_saturday->ForeColor = System::Drawing::Color::Snow;
			this->lbl_saturday->Location = System::Drawing::Point(898, 145);
			this->lbl_saturday->Name = L"lbl_saturday";
			this->lbl_saturday->Size = System::Drawing::Size(29, 16);
			this->lbl_saturday->TabIndex = 87;
			this->lbl_saturday->Text = L"Sat";
			this->lbl_saturday->Visible = false;
			// 
			// lbl_sunday
			// 
			this->lbl_sunday->AutoSize = true;
			this->lbl_sunday->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lbl_sunday->ForeColor = System::Drawing::Color::Snow;
			this->lbl_sunday->Location = System::Drawing::Point(957, 145);
			this->lbl_sunday->Name = L"lbl_sunday";
			this->lbl_sunday->Size = System::Drawing::Size(33, 16);
			this->lbl_sunday->TabIndex = 86;
			this->lbl_sunday->Text = L"Sun";
			this->lbl_sunday->Visible = false;
			// 
			// lbl_friday
			// 
			this->lbl_friday->AutoSize = true;
			this->lbl_friday->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lbl_friday->ForeColor = System::Drawing::Color::Snow;
			this->lbl_friday->Location = System::Drawing::Point(838, 145);
			this->lbl_friday->Name = L"lbl_friday";
			this->lbl_friday->Size = System::Drawing::Size(25, 16);
			this->lbl_friday->TabIndex = 85;
			this->lbl_friday->Text = L"Fri";
			this->lbl_friday->Visible = false;
			// 
			// lbl_thrusday
			// 
			this->lbl_thrusday->AutoSize = true;
			this->lbl_thrusday->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lbl_thrusday->ForeColor = System::Drawing::Color::Snow;
			this->lbl_thrusday->Location = System::Drawing::Point(766, 145);
			this->lbl_thrusday->Name = L"lbl_thrusday";
			this->lbl_thrusday->Size = System::Drawing::Size(43, 16);
			this->lbl_thrusday->TabIndex = 84;
			this->lbl_thrusday->Text = L"Thurs";
			this->lbl_thrusday->Visible = false;
			// 
			// lbl_wednesday
			// 
			this->lbl_wednesday->AutoSize = true;
			this->lbl_wednesday->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lbl_wednesday->ForeColor = System::Drawing::Color::Snow;
			this->lbl_wednesday->Location = System::Drawing::Point(709, 145);
			this->lbl_wednesday->Name = L"lbl_wednesday";
			this->lbl_wednesday->Size = System::Drawing::Size(37, 16);
			this->lbl_wednesday->TabIndex = 83;
			this->lbl_wednesday->Text = L"Wed";
			this->lbl_wednesday->Visible = false;
			// 
			// lbl_tuesday
			// 
			this->lbl_tuesday->AutoSize = true;
			this->lbl_tuesday->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lbl_tuesday->ForeColor = System::Drawing::Color::Snow;
			this->lbl_tuesday->Location = System::Drawing::Point(647, 145);
			this->lbl_tuesday->Name = L"lbl_tuesday";
			this->lbl_tuesday->Size = System::Drawing::Size(37, 16);
			this->lbl_tuesday->TabIndex = 82;
			this->lbl_tuesday->Text = L"Tues";
			this->lbl_tuesday->Visible = false;
			// 
			// lbl_monday
			// 
			this->lbl_monday->AutoSize = true;
			this->lbl_monday->BackColor = System::Drawing::Color::Transparent;
			this->lbl_monday->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lbl_monday->ForeColor = System::Drawing::Color::Snow;
			this->lbl_monday->Location = System::Drawing::Point(588, 145);
			this->lbl_monday->Name = L"lbl_monday";
			this->lbl_monday->Size = System::Drawing::Size(35, 16);
			this->lbl_monday->TabIndex = 81;
			this->lbl_monday->Text = L"Mon";
			this->lbl_monday->Visible = false;
			// 
			// day_37
			// 
			this->day_37->BackColor = System::Drawing::Color::Gainsboro;
			this->day_37->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_37->Location = System::Drawing::Point(639, 500);
			this->day_37->Name = L"day_37";
			this->day_37->Size = System::Drawing::Size(55, 55);
			this->day_37->TabIndex = 80;
			this->day_37->Visible = false;
			// 
			// day_36
			// 
			this->day_36->BackColor = System::Drawing::Color::Gainsboro;
			this->day_36->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_36->Location = System::Drawing::Point(578, 500);
			this->day_36->Name = L"day_36";
			this->day_36->Size = System::Drawing::Size(55, 55);
			this->day_36->TabIndex = 79;
			this->day_36->Visible = false;
			// 
			// day_35
			// 
			this->day_35->BackColor = System::Drawing::Color::Gainsboro;
			this->day_35->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_35->Location = System::Drawing::Point(944, 435);
			this->day_35->Name = L"day_35";
			this->day_35->Size = System::Drawing::Size(55, 55);
			this->day_35->TabIndex = 78;
			this->day_35->Visible = false;
			// 
			// day_33
			// 
			this->day_33->BackColor = System::Drawing::Color::Gainsboro;
			this->day_33->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_33->Location = System::Drawing::Point(883, 435);
			this->day_33->Name = L"day_33";
			this->day_33->Size = System::Drawing::Size(55, 55);
			this->day_33->TabIndex = 77;
			this->day_33->Visible = false;
			// 
			// day_32
			// 
			this->day_32->BackColor = System::Drawing::Color::Gainsboro;
			this->day_32->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_32->Location = System::Drawing::Point(822, 435);
			this->day_32->Name = L"day_32";
			this->day_32->Size = System::Drawing::Size(55, 55);
			this->day_32->TabIndex = 76;
			this->day_32->Visible = false;
			// 
			// day_31
			// 
			this->day_31->BackColor = System::Drawing::Color::Gainsboro;
			this->day_31->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_31->Location = System::Drawing::Point(761, 435);
			this->day_31->Name = L"day_31";
			this->day_31->Size = System::Drawing::Size(55, 55);
			this->day_31->TabIndex = 75;
			this->day_31->Visible = false;
			// 
			// day_30
			// 
			this->day_30->BackColor = System::Drawing::Color::Gainsboro;
			this->day_30->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_30->Location = System::Drawing::Point(700, 435);
			this->day_30->Name = L"day_30";
			this->day_30->Size = System::Drawing::Size(55, 55);
			this->day_30->TabIndex = 74;
			this->day_30->Visible = false;
			// 
			// day_29
			// 
			this->day_29->BackColor = System::Drawing::Color::Gainsboro;
			this->day_29->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_29->Location = System::Drawing::Point(639, 435);
			this->day_29->Name = L"day_29";
			this->day_29->Size = System::Drawing::Size(55, 55);
			this->day_29->TabIndex = 73;
			this->day_29->Visible = false;
			// 
			// day_28
			// 
			this->day_28->BackColor = System::Drawing::Color::Gainsboro;
			this->day_28->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_28->Location = System::Drawing::Point(578, 435);
			this->day_28->Name = L"day_28";
			this->day_28->Size = System::Drawing::Size(55, 55);
			this->day_28->TabIndex = 72;
			this->day_28->Visible = false;
			// 
			// day_27
			// 
			this->day_27->BackColor = System::Drawing::Color::Gainsboro;
			this->day_27->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_27->Location = System::Drawing::Point(944, 369);
			this->day_27->Name = L"day_27";
			this->day_27->Size = System::Drawing::Size(55, 55);
			this->day_27->TabIndex = 71;
			this->day_27->Visible = false;
			// 
			// day_26
			// 
			this->day_26->BackColor = System::Drawing::Color::Gainsboro;
			this->day_26->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_26->Location = System::Drawing::Point(883, 369);
			this->day_26->Name = L"day_26";
			this->day_26->Size = System::Drawing::Size(55, 55);
			this->day_26->TabIndex = 70;
			this->day_26->Visible = false;
			// 
			// day_25
			// 
			this->day_25->BackColor = System::Drawing::Color::Gainsboro;
			this->day_25->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_25->Location = System::Drawing::Point(822, 369);
			this->day_25->Name = L"day_25";
			this->day_25->Size = System::Drawing::Size(55, 55);
			this->day_25->TabIndex = 69;
			this->day_25->Visible = false;
			// 
			// day_24
			// 
			this->day_24->BackColor = System::Drawing::Color::Gainsboro;
			this->day_24->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_24->Location = System::Drawing::Point(761, 369);
			this->day_24->Name = L"day_24";
			this->day_24->Size = System::Drawing::Size(55, 55);
			this->day_24->TabIndex = 68;
			this->day_24->Visible = false;
			// 
			// day_23
			// 
			this->day_23->BackColor = System::Drawing::Color::Gainsboro;
			this->day_23->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_23->Location = System::Drawing::Point(700, 369);
			this->day_23->Name = L"day_23";
			this->day_23->Size = System::Drawing::Size(55, 55);
			this->day_23->TabIndex = 67;
			this->day_23->Visible = false;
			// 
			// day_22
			// 
			this->day_22->BackColor = System::Drawing::Color::Gainsboro;
			this->day_22->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_22->Location = System::Drawing::Point(639, 369);
			this->day_22->Name = L"day_22";
			this->day_22->Size = System::Drawing::Size(55, 55);
			this->day_22->TabIndex = 66;
			this->day_22->Visible = false;
			// 
			// day_21
			// 
			this->day_21->BackColor = System::Drawing::Color::Gainsboro;
			this->day_21->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_21->Location = System::Drawing::Point(578, 369);
			this->day_21->Name = L"day_21";
			this->day_21->Size = System::Drawing::Size(55, 55);
			this->day_21->TabIndex = 65;
			this->day_21->Visible = false;
			// 
			// day_20
			// 
			this->day_20->BackColor = System::Drawing::Color::Gainsboro;
			this->day_20->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_20->Location = System::Drawing::Point(944, 305);
			this->day_20->Name = L"day_20";
			this->day_20->Size = System::Drawing::Size(55, 55);
			this->day_20->TabIndex = 64;
			this->day_20->Visible = false;
			// 
			// day_19
			// 
			this->day_19->BackColor = System::Drawing::Color::Gainsboro;
			this->day_19->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_19->Location = System::Drawing::Point(883, 305);
			this->day_19->Name = L"day_19";
			this->day_19->Size = System::Drawing::Size(55, 55);
			this->day_19->TabIndex = 63;
			this->day_19->Visible = false;
			// 
			// day_18
			// 
			this->day_18->BackColor = System::Drawing::Color::Gainsboro;
			this->day_18->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_18->Location = System::Drawing::Point(822, 305);
			this->day_18->Name = L"day_18";
			this->day_18->Size = System::Drawing::Size(55, 55);
			this->day_18->TabIndex = 62;
			this->day_18->Visible = false;
			// 
			// day_17
			// 
			this->day_17->BackColor = System::Drawing::Color::Gainsboro;
			this->day_17->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_17->Location = System::Drawing::Point(761, 305);
			this->day_17->Name = L"day_17";
			this->day_17->Size = System::Drawing::Size(55, 55);
			this->day_17->TabIndex = 61;
			this->day_17->Visible = false;
			// 
			// day_16
			// 
			this->day_16->BackColor = System::Drawing::Color::Gainsboro;
			this->day_16->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_16->Location = System::Drawing::Point(700, 305);
			this->day_16->Name = L"day_16";
			this->day_16->Size = System::Drawing::Size(55, 55);
			this->day_16->TabIndex = 60;
			this->day_16->Visible = false;
			// 
			// day_15
			// 
			this->day_15->BackColor = System::Drawing::Color::Gainsboro;
			this->day_15->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_15->Location = System::Drawing::Point(639, 305);
			this->day_15->Name = L"day_15";
			this->day_15->Size = System::Drawing::Size(55, 55);
			this->day_15->TabIndex = 59;
			this->day_15->Visible = false;
			// 
			// day_14
			// 
			this->day_14->BackColor = System::Drawing::Color::Gainsboro;
			this->day_14->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_14->Location = System::Drawing::Point(578, 305);
			this->day_14->Name = L"day_14";
			this->day_14->Size = System::Drawing::Size(55, 55);
			this->day_14->TabIndex = 58;
			this->day_14->Visible = false;
			// 
			// day_13
			// 
			this->day_13->BackColor = System::Drawing::Color::Gainsboro;
			this->day_13->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_13->Location = System::Drawing::Point(944, 241);
			this->day_13->Name = L"day_13";
			this->day_13->Size = System::Drawing::Size(55, 55);
			this->day_13->TabIndex = 57;
			this->day_13->Visible = false;
			// 
			// day_12
			// 
			this->day_12->BackColor = System::Drawing::Color::Gainsboro;
			this->day_12->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_12->Location = System::Drawing::Point(883, 241);
			this->day_12->Name = L"day_12";
			this->day_12->Size = System::Drawing::Size(55, 55);
			this->day_12->TabIndex = 56;
			this->day_12->Visible = false;
			// 
			// day_11
			// 
			this->day_11->BackColor = System::Drawing::Color::Gainsboro;
			this->day_11->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_11->Location = System::Drawing::Point(822, 241);
			this->day_11->Name = L"day_11";
			this->day_11->Size = System::Drawing::Size(55, 55);
			this->day_11->TabIndex = 55;
			this->day_11->Visible = false;
			// 
			// day_10
			// 
			this->day_10->BackColor = System::Drawing::Color::Gainsboro;
			this->day_10->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_10->Location = System::Drawing::Point(761, 241);
			this->day_10->Name = L"day_10";
			this->day_10->Size = System::Drawing::Size(55, 55);
			this->day_10->TabIndex = 54;
			this->day_10->Visible = false;
			// 
			// day_9
			// 
			this->day_9->BackColor = System::Drawing::Color::Gainsboro;
			this->day_9->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_9->Location = System::Drawing::Point(700, 241);
			this->day_9->Name = L"day_9";
			this->day_9->Size = System::Drawing::Size(55, 55);
			this->day_9->TabIndex = 53;
			this->day_9->Visible = false;
			// 
			// day_8
			// 
			this->day_8->BackColor = System::Drawing::Color::Gainsboro;
			this->day_8->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_8->Location = System::Drawing::Point(639, 241);
			this->day_8->Name = L"day_8";
			this->day_8->Size = System::Drawing::Size(55, 55);
			this->day_8->TabIndex = 52;
			this->day_8->Visible = false;
			// 
			// day_7
			// 
			this->day_7->BackColor = System::Drawing::Color::Gainsboro;
			this->day_7->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_7->Location = System::Drawing::Point(578, 241);
			this->day_7->Name = L"day_7";
			this->day_7->Size = System::Drawing::Size(55, 55);
			this->day_7->TabIndex = 51;
			this->day_7->Visible = false;
			// 
			// day_6
			// 
			this->day_6->BackColor = System::Drawing::Color::Gainsboro;
			this->day_6->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_6->Location = System::Drawing::Point(944, 176);
			this->day_6->Name = L"day_6";
			this->day_6->Size = System::Drawing::Size(55, 55);
			this->day_6->TabIndex = 50;
			this->day_6->Visible = false;
			// 
			// day_5
			// 
			this->day_5->BackColor = System::Drawing::Color::Gainsboro;
			this->day_5->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_5->Location = System::Drawing::Point(883, 176);
			this->day_5->Name = L"day_5";
			this->day_5->Size = System::Drawing::Size(55, 55);
			this->day_5->TabIndex = 49;
			this->day_5->Visible = false;
			// 
			// day_4
			// 
			this->day_4->BackColor = System::Drawing::Color::Gainsboro;
			this->day_4->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_4->Location = System::Drawing::Point(822, 176);
			this->day_4->Name = L"day_4";
			this->day_4->Size = System::Drawing::Size(55, 55);
			this->day_4->TabIndex = 48;
			this->day_4->Visible = false;
			// 
			// day_3
			// 
			this->day_3->BackColor = System::Drawing::Color::Gainsboro;
			this->day_3->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_3->Location = System::Drawing::Point(761, 176);
			this->day_3->Name = L"day_3";
			this->day_3->Size = System::Drawing::Size(55, 55);
			this->day_3->TabIndex = 47;
			this->day_3->Visible = false;
			// 
			// day_2
			// 
			this->day_2->BackColor = System::Drawing::Color::Gainsboro;
			this->day_2->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_2->Location = System::Drawing::Point(700, 176);
			this->day_2->Name = L"day_2";
			this->day_2->Size = System::Drawing::Size(55, 55);
			this->day_2->TabIndex = 46;
			this->day_2->Visible = false;
			// 
			// day_1
			// 
			this->day_1->BackColor = System::Drawing::Color::Gainsboro;
			this->day_1->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_1->Location = System::Drawing::Point(639, 176);
			this->day_1->Name = L"day_1";
			this->day_1->Size = System::Drawing::Size(55, 55);
			this->day_1->TabIndex = 45;
			this->day_1->Visible = false;
			// 
			// day_0
			// 
			this->day_0->BackColor = System::Drawing::Color::Gainsboro;
			this->day_0->Cursor = System::Windows::Forms::Cursors::Hand;
			this->day_0->Location = System::Drawing::Point(578, 176);
			this->day_0->Name = L"day_0";
			this->day_0->Size = System::Drawing::Size(55, 55);
			this->day_0->TabIndex = 44;
			this->day_0->Visible = false;
			// 
			// lbl_year
			// 
			this->lbl_year->AutoSize = true;
			this->lbl_year->Font = (gcnew System::Drawing::Font(L"Arial", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lbl_year->Location = System::Drawing::Point(452, 305);
			this->lbl_year->Name = L"lbl_year";
			this->lbl_year->Size = System::Drawing::Size(40, 18);
			this->lbl_year->TabIndex = 88;
			this->lbl_year->Text = L"0000";
			this->lbl_year->Visible = false;
			// 
			// lbl_month
			// 
			this->lbl_month->AutoSize = true;
			this->lbl_month->Font = (gcnew System::Drawing::Font(L"Arial", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lbl_month->Location = System::Drawing::Point(431, 323);
			this->lbl_month->Name = L"lbl_month";
			this->lbl_month->Size = System::Drawing::Size(86, 18);
			this->lbl_month->TabIndex = 89;
			this->lbl_month->Text = L"September";
			this->lbl_month->Visible = false;
			// 
			// lbl_next_year
			// 
			this->lbl_next_year->AutoSize = true;
			this->lbl_next_year->Cursor = System::Windows::Forms::Cursors::Hand;
			this->lbl_next_year->Font = (gcnew System::Drawing::Font(L"Arial", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lbl_next_year->Location = System::Drawing::Point(522, 305);
			this->lbl_next_year->Name = L"lbl_next_year";
			this->lbl_next_year->Size = System::Drawing::Size(17, 18);
			this->lbl_next_year->TabIndex = 90;
			this->lbl_next_year->Text = L">";
			this->lbl_next_year->Visible = false;
			// 
			// lbl_prev_month
			// 
			this->lbl_prev_month->AutoSize = true;
			this->lbl_prev_month->Cursor = System::Windows::Forms::Cursors::Hand;
			this->lbl_prev_month->Font = (gcnew System::Drawing::Font(L"Arial", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lbl_prev_month->Location = System::Drawing::Point(415, 324);
			this->lbl_prev_month->Name = L"lbl_prev_month";
			this->lbl_prev_month->Size = System::Drawing::Size(17, 18);
			this->lbl_prev_month->TabIndex = 91;
			this->lbl_prev_month->Text = L"<";
			this->lbl_prev_month->Visible = false;
			// 
			// lbl_prev_year
			// 
			this->lbl_prev_year->AutoSize = true;
			this->lbl_prev_year->Cursor = System::Windows::Forms::Cursors::Hand;
			this->lbl_prev_year->Font = (gcnew System::Drawing::Font(L"Arial", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lbl_prev_year->Location = System::Drawing::Point(415, 306);
			this->lbl_prev_year->Name = L"lbl_prev_year";
			this->lbl_prev_year->Size = System::Drawing::Size(17, 18);
			this->lbl_prev_year->TabIndex = 92;
			this->lbl_prev_year->Text = L"<";
			this->lbl_prev_year->Visible = false;
			// 
			// lbl_next_month
			// 
			this->lbl_next_month->AutoSize = true;
			this->lbl_next_month->Cursor = System::Windows::Forms::Cursors::Hand;
			this->lbl_next_month->Font = (gcnew System::Drawing::Font(L"Arial", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lbl_next_month->Location = System::Drawing::Point(522, 323);
			this->lbl_next_month->Name = L"lbl_next_month";
			this->lbl_next_month->Size = System::Drawing::Size(17, 18);
			this->lbl_next_month->TabIndex = 93;
			this->lbl_next_month->Text = L">";
			this->lbl_next_month->Visible = false;
			// 
			// pic_logo
			// 
			this->pic_logo->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pic_logo.Image")));
			this->pic_logo->Location = System::Drawing::Point(14, 13);
			this->pic_logo->Name = L"pic_logo";
			this->pic_logo->Size = System::Drawing::Size(590, 95);
			this->pic_logo->SizeMode = System::Windows::Forms::PictureBoxSizeMode::Zoom;
			this->pic_logo->TabIndex = 94;
			this->pic_logo->TabStop = false;
			// 
			// cmd_logout
			// 
			this->cmd_logout->Cursor = System::Windows::Forms::Cursors::Hand;
			this->cmd_logout->Font = (gcnew System::Drawing::Font(L"Arial", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->cmd_logout->ForeColor = System::Drawing::SystemColors::ActiveCaptionText;
			this->cmd_logout->Location = System::Drawing::Point(610, 67);
			this->cmd_logout->Name = L"cmd_logout";
			this->cmd_logout->Size = System::Drawing::Size(113, 30);
			this->cmd_logout->TabIndex = 95;
			this->cmd_logout->Text = L"Logout";
			this->cmd_logout->UseVisualStyleBackColor = true;
			this->cmd_logout->Visible = false;
			this->cmd_logout->Click += gcnew System::EventHandler(this, &Form1::cmd_logout_Click);
			// 
			// pic_minimize
			// 
			this->pic_minimize->Cursor = System::Windows::Forms::Cursors::Hand;
			this->pic_minimize->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pic_minimize.Image")));
			this->pic_minimize->Location = System::Drawing::Point(898, 19);
			this->pic_minimize->Name = L"pic_minimize";
			this->pic_minimize->Size = System::Drawing::Size(40, 40);
			this->pic_minimize->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
			this->pic_minimize->TabIndex = 96;
			this->pic_minimize->TabStop = false;
			this->pic_minimize->Click += gcnew System::EventHandler(this, &Form1::pic_minimize_Click);
			// 
			// pic_exit
			// 
			this->pic_exit->Cursor = System::Windows::Forms::Cursors::Hand;
			this->pic_exit->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pic_exit.Image")));
			this->pic_exit->Location = System::Drawing::Point(949, 19);
			this->pic_exit->Name = L"pic_exit";
			this->pic_exit->Size = System::Drawing::Size(40, 40);
			this->pic_exit->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
			this->pic_exit->TabIndex = 97;
			this->pic_exit->TabStop = false;
			this->pic_exit->Click += gcnew System::EventHandler(this, &Form1::pic_exit_Click);
			// 
			// lbl_username
			// 
			this->lbl_username->AutoSize = true;
			this->lbl_username->Font = (gcnew System::Drawing::Font(L"Arial", 11.25F, System::Drawing::FontStyle::Bold));
			this->lbl_username->Location = System::Drawing::Point(415, 269);
			this->lbl_username->Name = L"lbl_username";
			this->lbl_username->Size = System::Drawing::Size(84, 18);
			this->lbl_username->TabIndex = 98;
			this->lbl_username->Text = L"Username:";
			// 
			// lbl_password
			// 
			this->lbl_password->AutoSize = true;
			this->lbl_password->Font = (gcnew System::Drawing::Font(L"Arial", 11.25F, System::Drawing::FontStyle::Bold));
			this->lbl_password->Location = System::Drawing::Point(418, 306);
			this->lbl_password->Name = L"lbl_password";
			this->lbl_password->Size = System::Drawing::Size(81, 18);
			this->lbl_password->TabIndex = 99;
			this->lbl_password->Text = L"Password:";
			// 
			// txt_password
			// 
			this->txt_password->Location = System::Drawing::Point(505, 306);
			this->txt_password->Name = L"txt_password";
			this->txt_password->PasswordChar = '*';
			this->txt_password->Size = System::Drawing::Size(100, 20);
			this->txt_password->TabIndex = 102;
			// 
			// txt_username
			// 
			this->txt_username->Location = System::Drawing::Point(505, 269);
			this->txt_username->Name = L"txt_username";
			this->txt_username->Size = System::Drawing::Size(100, 20);
			this->txt_username->TabIndex = 101;
			// 
			// cmd_login
			// 
			this->cmd_login->Cursor = System::Windows::Forms::Cursors::Hand;
			this->cmd_login->Font = (gcnew System::Drawing::Font(L"Arial", 11.25F, System::Drawing::FontStyle::Bold));
			this->cmd_login->ForeColor = System::Drawing::SystemColors::ActiveCaptionText;
			this->cmd_login->Location = System::Drawing::Point(418, 344);
			this->cmd_login->Name = L"cmd_login";
			this->cmd_login->Size = System::Drawing::Size(186, 29);
			this->cmd_login->TabIndex = 103;
			this->cmd_login->Text = L"Login";
			this->cmd_login->UseVisualStyleBackColor = true;
			this->cmd_login->Click += gcnew System::EventHandler(this, &Form1::cmd_login_Click);
			// 
			// cbo_employee
			// 
			this->cbo_employee->Cursor = System::Windows::Forms::Cursors::Hand;
			this->cbo_employee->FormattingEnabled = true;
			this->cbo_employee->Location = System::Drawing::Point(398, 356);
			this->cbo_employee->Name = L"cbo_employee";
			this->cbo_employee->Size = System::Drawing::Size(154, 21);
			this->cbo_employee->TabIndex = 103;
			this->cbo_employee->Text = L"Please select an employee";
			this->cbo_employee->Visible = false;
			// 
			// cbo_company
			// 
			this->cbo_company->Cursor = System::Windows::Forms::Cursors::Hand;
			this->cbo_company->FormattingEnabled = true;
			this->cbo_company->Location = System::Drawing::Point(398, 391);
			this->cbo_company->Name = L"cbo_company";
			this->cbo_company->Size = System::Drawing::Size(154, 21);
			this->cbo_company->TabIndex = 104;
			this->cbo_company->Text = L"Please select a company";
			this->cbo_company->Visible = false;
			// 
			// cbo_staff_id
			// 
			this->cbo_staff_id->FormattingEnabled = true;
			this->cbo_staff_id->Location = System::Drawing::Point(356, 356);
			this->cbo_staff_id->Name = L"cbo_staff_id";
			this->cbo_staff_id->Size = System::Drawing::Size(36, 21);
			this->cbo_staff_id->TabIndex = 105;
			this->cbo_staff_id->TabStop = false;
			this->cbo_staff_id->Visible = false;
			// 
			// cbo_company_id
			// 
			this->cbo_company_id->FormattingEnabled = true;
			this->cbo_company_id->Location = System::Drawing::Point(356, 391);
			this->cbo_company_id->Name = L"cbo_company_id";
			this->cbo_company_id->Size = System::Drawing::Size(36, 21);
			this->cbo_company_id->TabIndex = 106;
			this->cbo_company_id->TabStop = false;
			this->cbo_company_id->Visible = false;
			// 
			// Form1
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->BackColor = System::Drawing::Color::DarkRed;
			this->ClientSize = System::Drawing::Size(1013, 589);
			this->Controls->Add(this->cbo_company_id);
			this->Controls->Add(this->cbo_staff_id);
			this->Controls->Add(this->cbo_company);
			this->Controls->Add(this->cbo_employee);
			this->Controls->Add(this->cmd_login);
			this->Controls->Add(this->txt_username);
			this->Controls->Add(this->txt_password);
			this->Controls->Add(this->lbl_password);
			this->Controls->Add(this->lbl_username);
			this->Controls->Add(this->pic_exit);
			this->Controls->Add(this->pic_minimize);
			this->Controls->Add(this->cmd_logout);
			this->Controls->Add(this->pic_logo);
			this->Controls->Add(this->lbl_next_month);
			this->Controls->Add(this->lbl_prev_year);
			this->Controls->Add(this->lbl_prev_month);
			this->Controls->Add(this->lbl_next_year);
			this->Controls->Add(this->lbl_month);
			this->Controls->Add(this->lbl_year);
			this->Controls->Add(this->lbl_saturday);
			this->Controls->Add(this->lbl_sunday);
			this->Controls->Add(this->lbl_friday);
			this->Controls->Add(this->lbl_thrusday);
			this->Controls->Add(this->lbl_wednesday);
			this->Controls->Add(this->lbl_tuesday);
			this->Controls->Add(this->lbl_monday);
			this->Controls->Add(this->day_37);
			this->Controls->Add(this->day_36);
			this->Controls->Add(this->day_35);
			this->Controls->Add(this->day_33);
			this->Controls->Add(this->day_32);
			this->Controls->Add(this->day_31);
			this->Controls->Add(this->day_30);
			this->Controls->Add(this->day_29);
			this->Controls->Add(this->day_28);
			this->Controls->Add(this->day_27);
			this->Controls->Add(this->day_26);
			this->Controls->Add(this->day_25);
			this->Controls->Add(this->day_24);
			this->Controls->Add(this->day_23);
			this->Controls->Add(this->day_22);
			this->Controls->Add(this->day_21);
			this->Controls->Add(this->day_20);
			this->Controls->Add(this->day_19);
			this->Controls->Add(this->day_18);
			this->Controls->Add(this->day_17);
			this->Controls->Add(this->day_16);
			this->Controls->Add(this->day_15);
			this->Controls->Add(this->day_14);
			this->Controls->Add(this->day_13);
			this->Controls->Add(this->day_12);
			this->Controls->Add(this->day_11);
			this->Controls->Add(this->day_10);
			this->Controls->Add(this->day_9);
			this->Controls->Add(this->day_8);
			this->Controls->Add(this->day_7);
			this->Controls->Add(this->day_6);
			this->Controls->Add(this->day_5);
			this->Controls->Add(this->day_4);
			this->Controls->Add(this->day_3);
			this->Controls->Add(this->day_2);
			this->Controls->Add(this->day_1);
			this->Controls->Add(this->day_0);
			this->ForeColor = System::Drawing::Color::Snow;
			this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;
			this->Name = L"Form1";
			this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pic_logo))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pic_minimize))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pic_exit))->EndInit();
			this->ResumeLayout(false);
			this->PerformLayout();

		}
#pragma endregion
	private: System::Void pic_exit_Click(System::Object^  sender, System::EventArgs^  e) {
				 Application::Exit();	 
			 }
	private: System::Void pic_minimize_Click(System::Object^  sender, System::EventArgs^  e) {
				 WindowState = FormWindowState::Minimized;
			 }
	private: System::Void cmd_login_Click(System::Object^  sender, System::EventArgs^  e) {
				 SqlConnection ^connection = gcnew SqlConnection();
				 connection->ConnectionString = "Server=213.171.201.131;Database=Lance;User Id=Lunch32;Password=@ustinP0well;";

				 try{
					 SqlCommand ^cmd = gcnew SqlCommand();
					 SqlCommand ^cmdLock = gcnew SqlCommand();
					 cmd->Connection = connection;
					 cmdLock->Connection = connection;

					 cmd->CommandType = CommandType::Text;
					 cmd->CommandText =String::Format("SELECT u.password, u.region_id, u.locked, a.admin_type_value FROM ap_users u, ap_admin_types a WHERE u.username = '"+txt_username->Text+"' and a.admin_type_id = u.admin_type_id;");
					 cmdLock->CommandType = CommandType::Text;
					 cmdLock->CommandText =String::Format("Update ap_users set locked = 'yes' where username='"+txt_username->Text+"';");

					 connection->Open();

					 SqlDataReader ^reader = cmd->ExecuteReader();

					 if(reader->Read()){
						 if(reader["locked"]->ToString() == "no")
						 {
							 if(reader["password"]->ToString() == txt_password->Text)
							 {
								 regionId = reader["region_id"]->ToString();
								 adminValue = reader["admin_type_value"]->ToString();
								 txt_password->Text = "";
								 txt_username->Text = "";
								 txt_password->Visible = false;
								 txt_username->Visible = false;
								 cmd_login->Visible = false;
								 lbl_username->Visible = false;
								 lbl_password->Visible = false;
								 cmd_logout->Visible = true;
								 lbl_prev_month->Visible = true;
								 lbl_month->Visible = true;
								 lbl_next_month->Visible = true;
								 lbl_prev_year->Visible = true;
								 lbl_year->Visible = true;
								 lbl_next_year->Visible = true;
								 cbo_employee->Visible = true;
								 cbo_company->Visible = true;
								 lbl_monday->Visible = true;
								 lbl_tuesday->Visible = true;
								 lbl_wednesday->Visible = true;
								 lbl_thrusday->Visible = true;
								 lbl_friday->Visible = true;
								 lbl_saturday->Visible = true;
								 lbl_sunday->Visible = true;
							 }
							 else
							 {
								 reader->Close();
								 ++loginCount;
								 if(loginCount > 2)
								 {
									 cmdLock->ExecuteNonQuery();
									 MessageBox::Show("Your account has been locked, please contact an Admin to unlock your account.", "Login Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
								 }
								 else
								 {
									 MessageBox::Show("Login details incorrect.", "Login Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
								 }
							 }
						 }
						 else
						 {
							 MessageBox::Show("Your account has been locked, please contact an Admin to unlock your account.", "Login Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
						 }

					 }
					 else
					 {
						 MessageBox::Show("Login details incorrect.", "Login Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
					 }
					 if(!(reader->IsClosed))
					 {
						 reader->Close();
					 }
				 }
				 catch (SqlException ^e)
				 {
					 MessageBox::Show(e->ToString());
				 }
				 finally
				 {
					 connection->Close();
				 }
			 }
	private: System::Void cmd_logout_Click(System::Object^  sender, System::EventArgs^  e) {
				 regionId = "";
				 adminValue = "";
				 txt_password->Visible = true;
				 txt_username->Visible = true;
				 cmd_login->Visible = true;
				 lbl_username->Visible = true;
				 lbl_password->Visible = true;
				 cmd_logout->Visible = false;
				 lbl_prev_month->Visible = false;
				 lbl_month->Visible = false;
				 lbl_next_month->Visible = false;
				 lbl_prev_year->Visible = false;
				 lbl_year->Visible = false;
				 lbl_next_year->Visible = false;
				 cbo_employee->Visible = false;
				 cbo_company->Visible = false;
				 lbl_monday->Visible = false;
				 lbl_tuesday->Visible = false;
				 lbl_wednesday->Visible = false;
				 lbl_thrusday->Visible = false;
				 lbl_friday->Visible = false;
				 lbl_saturday->Visible = false;
				 lbl_sunday->Visible = false;
			 }
	};
}